import { Dispatch, createContext } from "react";
import { StateEnum } from "./reducer";

export const ListContext = createContext<Array<StateEnum> | null>(null)
export const ListDispatchContext = createContext<Dispatch<any> | null>(null)